//封装存取token

const key='pc-key'

const setToken=(token) => {
    return localStorage.setItem(key,token)
}

const getToken=() => {
    return localStorage.getItem(key)
}

const removeToken=() => {
    return localStorage.removeItem(key)
}

export {
    setToken,
    getToken,
    removeToken
}